package com.timesplus.generator.service;

import com.timesplus.common.exception.BizException;
import java.util.List;
import java.util.Map;

/**
 * 代码生成器Service
 *
 */
public interface SysGeneratorService {

	List<Map<String, Object>> queryList( Map<String, Object> map );

	int queryTotal( Map<String, Object> map );

	Map<String, String> queryTable( String tableName );

	List<Map<String, String>> queryColumns( String tableName );

	/**
	 * 生成代码
	 */
	byte[] generatorCode( String[] tableNames ) throws Exception;
}
